import React, {Component} from 'react';
import './onf-f.scss'

class OneF extends Component {
  constructor(props) {
    super(props);
  }

  render() {
    return (
        <div>
          {/*单行*/}
          <div className="one-f">
            {/*标题*/}
            <div className="f-title">
              <span>{this.props.title}</span>
            </div>
            {/*内容*/}
            <div className="f-content">
              <div className="content ellipsis">{this.props.content}</div>
            </div>
          </div>
        </div>
    );
  }
}

export default OneF;
